/** 主表 **/

import Layout from '@/layout';

const projectRouter = {
  path: '/project',
  component: Layout,
  redirect: '',
  name: 'Project',
  alwaysShow: true,
  meta: { title: '项目管理', code: 'PROJECT-1000', icon: 'el-icon-notebook-2', noCache: false, i18nCode: 'project.projectManage' },
  children: [
    {
      path: 'ProjectQuota',
      name: 'ProjectQuota',
      component: () => import('@/views/project/projectquota/components/projectquota-list'),
      meta: { title: '报价单', code: 'PROJECTQUOTA-1000', icon: '', noCache: false, i18nCode: 'project.quota' }
    },
    {
      path: 'ProjectMaintain',
      name: 'ProjectMaintain',
      component: () => import('@/views/project/projectmaintain/components/projectmaintain-list'),
      meta: { title: '维护项目管理', code: 'PROJECTMAINTAIN-1000', icon: '', noCache: false, i18nCode: 'project.maintain' }
    },
    {
      path: 'ProjectDevelop',
      name: 'ProjectDevelop',
      component: () => import('@/views/project/projectdevelop/components/projectdevelop-list'),
      meta: { title: '开发项目管理', code: 'PROJECTDEVELOP-1000', icon: '', noCache: false, i18nCode: 'project.develop' }
    }
  ]
};

export default projectRouter;
